<extend name="Public:base"/>


<block name="left">
	<ul class=" ">
			<li class=""><a href="{:U('Person/vip')}">vip开通</a></li>
		<li class=""><a href="{:U('Person/vipin')}">我的收入</a></li>
		<li class=""><a href="{:U('Person/vipg')}">我的公会</a></li>
        <li class=""><a href="{:U('Person/generalize')}">我的推广</a></li>
		<li class=""><a href=""></a></li>
		<li class=""><a href=""></a></li>
		<li class=""><a href=""></a></li>
	
	
	</ul>
	
</block>

<block name="right">
    <div class="ziliao">
		<div  class="col-xs-12">&nbsp</div>
		<div  class="col-xs-12">我的推广链接：{$rec_url} 	<span>推广码：{$userinfos.userid}</span>	  <span>&nbsp&nbsp&nbsp</span></div>
		<div>总推广好友：{$sub_count}人</div>
		<div>
			<span>总推广收入：{$eran_sum}元 &nbsp <!-- [转到余额] --></span>
			<span></span>

		</div>
	</div>

	<!--  -->
	<div class="v-box v-tq">
        <!--     <h2>VIP等级对应特权</h2> -->
            <table cellspacing="1">
                <tbody>
                <tr>
                    <td>VIP等级</td>
                    <td>VIP1</td>
                    <td>VIP2</td>
                    <td>VIP3</td>
                    <td>VIP4</td>
                    <td>VIP5</td>
                    <td>VIP6</td>
                    <td>VIP7</td>
             <!--        <td>VIP8</td> -->

               
                </tr>
          
          
           
                 <tr>
                    <td>相应价格</td>
                    <td class="c-green">10元</td>
                    <td class="c-green">50元</td>
                    <td class="c-green">100元</td>
                    <td class="c-green">500元</td>
                    <td class="c-green">1000元</td>
                    <td class="c-green">5000元</td>
                    <td class="c-green">10000元</td>
                 <!--    <td class="c-green">500000元</td> -->
                
                </tr>
                     <tr>
                    <td>返利比例</td>
                    <td class="c-green">20%+10%</td>
                    <td class="c-green">20%+15%</td>
                    <td class="c-green">25%+15%</td>
                    <td class="c-green">30%+20%</td>
                    <td class="c-green">35%+20%</td>
                    <td class="c-green">40%+20%</td>
                    <td class="c-green">40%+30%</td>
           <!--   	    <td class="c-green">50%+30%</td> -->
                 
                </tr>
                
                
              
          
      
            </tbody>
        </table>
        </div>
        <br>
        <div>

	


        <div>
        	<!-- 代码 开始 -->
			<div id="tab" style="margin-top:-25px">
			  <div class="tabList">
				<ul>
					<li class="cur">一级好友{$sub_one_count}人</li>
				
					<li>二级好友{$sub_two_count}人</li>
					
				</ul>
			  </div>
			  <div class="tabCon">
				<div class="cur">
					 <table cellspacing="1">
		                <tbody>
		                <tr>
		                    <td>&nbsp 注册时间</td>
		                	<td>会员昵称</td>
		                	<td>会员id</td>
		                	<td>等级</td>
		                	<td>我的提成</td>
		                	<td>好友数</td>
		                </tr>

						<volist name="userinfos1" id="pe" offset="0" length='7'>
		                <tr>
		                	<td>&nbsp {$pe.regdate|date='Y-m-d',###}</td>
		                	<td>{$pe.username}</td>
		                	<td>{$pe.userid}</td>
		                	<td>vip {$pe.vip}</td>
		                	<td>{$pe.yj_money_get}</td>
		                	<td>{$pe.sub_count}</td>

		                </tr>
		                </volist>


		                </tbody>
		             </table>   


				</div>
	
				<div>
							 <table cellspacing="1">   <!-- 二级用户 -->
		                <tbody>
		               <tr>
		                    <td>&nbsp 注册时间</td>
		                	<td>会员昵称</td>
		                	<td>会员id</td>
		                	<td>等级</td>
		                	<td>我的提成</td>
		                	<td>好友数</td>
		                </tr>

						<volist name="userinfos2" id="pea" offset="0" length='7'>
		                <tr>
		                	<td>&nbsp {$pea.regdate|date='Y-m-d',###}</td>
		                	<td>{$pea.username}</td>
		                	<td>{$pea.userid}</td>
		                	<td>vip {$pea.vip}</td>
		                	<td>{$pea.yj_money_get}</td>
		                	<td>{$pea.sub_count}</td>

		                </tr>
		                </volist>
		                </volist>

		                </tbody>




		             </table>  

				</div>
				<div></div>
				<div></div>
			  </div>
			</div>

			</div>
			<!-- 结束  常用 -->
		</div>

 <script type="text/javascript">
 window.onload = function() {
    var oDiv = document.getElementById("tab");
    var oLi = oDiv.getElementsByTagName("div")[0].getElementsByTagName("li");
    var aCon = oDiv.getElementsByTagName("div")[1].getElementsByTagName("div");
    var timer = null;
    for (var i = 0; i < oLi.length; i++) {
        oLi[i].index = i;
        oLi[i].onclick = function() {
            show(this.index);
        }
    }
    function show(a) {
        index = a;
        var alpha = 0;
        for (var j = 0; j < oLi.length; j++) {
            oLi[j].className = "";
            aCon[j].className = "";
            aCon[j].style.opacity = 0;
            aCon[j].style.filter = "alpha(opacity=0)";
        }
        oLi[index].className = "cur";
        clearInterval(timer);
        timer = setInterval(function() {
            alpha += 2;
            alpha > 100 && (alpha = 100);
            aCon[index].style.opacity = alpha / 100;
            aCon[index].style.filter = "alpha(opacity=" + alpha + ")";
            alpha == 100 && clearInterval(timer);
        },
        5)
    }
}

 </script>




<!--  -->
	
</block>
